package com.bye.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("order_info")
public class OrderDto {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private BigDecimal orderAmount;
    private BigDecimal actualPaymentAmount;
    private String paymentMethod;
    private Date orderTime;
    private Date reservationPickupTime;
    private String orderStatus;
    private BigDecimal pointsDeductionAmount;
    private String orderNote;
}